package com.ynny.librarysystemmanager.entity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Book {

    // 图书编号 图书名称 作者 出版社 出版日期 价格 库存量

    private Integer bookId;
    private String bookName;
    private String isbn;
    private String author;
    private String publisher;
    private LocalDateTime publishTime;
    private BigDecimal price;
    private Integer storage;
    private Integer isDelete;
}
